﻿using System;
using System.Collections.Generic;
using System.Text;
using IDAL.RF.PowerTest;
using Model.RF.PowerTest;

namespace BLL.RF.PowerTest
{
    public class PowerTestItem : BaseService<PowerTestItemInfo>
    {
        private static readonly IPowerTestItem dal = DALFactory.DataAccess.CreatePowerTestItem();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<PowerTestItemInfo> GetPowerTestItemsbyID(int id)
        {
            return dal.GetPowerTestItemsbyID(id);
        }

        //大功率多频段临时库使用
        public IList<PowerTestItemInfo> GetPowerTestItem_tempsbyID(int id)
        {
            return dal.GetPowerTestItem_tempsbyID(id);
        }
    }
}
